const { path } = require('@vuepress/utils')

module.exports = {
    lang: 'zh-CN',
    title: "Alice's blog",
    description: 'Just playing around',
    head: [['link', { rel: 'icon', href: '/logo.png' }]],
    base: '/',
    theme: path.resolve(__dirname, './theme'),
    themeConfig: {
        logo: '/logo.png',
        navbar: [
            { text: 'Home', link: '/' },
            {
                text: 'Node',
                children: ['/guide/PHP.md','/guide/MySQL.md','/guide/System.md','/guide/Redis.md','/guide/Web.md','/guide/Git.md','/guide/Algorithm.md','/guide/Question.md',],
            },
            {
                text: 'Project',
                children: [
                    {text: 'lin-cms-laravel',
                    link: '/project/lin-cms-laravel.md'}
                ],
            },
        ],
        repo: 'https://gitee.com/aliceyd/aliceyd',
        docsBranch: 'master',
        docsDir: 'docs',
        editLinkPattern: ':repo/edit/:branch/:path',
    },
    plugins: [
        [
            '@vuepress/search'
        ]
    ],
    clientAppEnhanceFiles: path.resolve(__dirname, './clientAppEnhance.js'),
}